class AddVoteAndCommentCountToVideos < ActiveRecord::Migration
  def self.up
    add_column :videos, :vote_count, :integer, :default=>0
    add_column :videos, :comment_count, :integer, :default=>0
    
  end

  def self.down
    remove_column :videos, :vote_count
    remove_column :videos, :comment_count
  end
end
